﻿<navigation:Page xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"  x:Class="SL4_NAV_ProjectiCON.Views.Estimate" 
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
           xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
           xmlns:m="clr-namespace:Microsoft.Maps.MapControl;assembly=Microsoft.Maps.MapControl" 
           xmlns:transform="clr-namespace:TransformInteraction;assembly=TransformInteraction"
           xmlns:vsm="clr-namespace:System.Windows;assembly=System.Windows"
           mc:Ignorable="d"
           xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
           xmlns:dataInput="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input"
           xmlns:data="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data"
           d:DesignWidth="1200" d:DesignHeight="1200"
           Title="Estimate Page">
    
    <UserControl.Resources>

        <Style x:Key="customInteractionStyle" TargetType="transform:TransformInteractionControl">
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="transform:TransformInteractionControl">
                        <Grid RenderTransformOrigin="0.5,0.5">
                            <Grid.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform x:Name="PART_Scale"/>
                                    <RotateTransform x:Name="PART_Rotation" />
                                    <TranslateTransform x:Name="PART_Translation" />
                                </TransformGroup>
                            </Grid.RenderTransform>

                            <vsm:VisualStateManager.VisualStateGroups>
                                <vsm:VisualStateGroup x:Name="CommonStates">
                                    <vsm:VisualStateGroup.Transitions>
                                        <vsm:VisualTransition GeneratedDuration="0:0:0.2" To="MouseOver"/>
                                        <vsm:VisualTransition GeneratedDuration="00:00:00.2000000"/>
                                    </vsm:VisualStateGroup.Transitions>
                                    <vsm:VisualState x:Name="Normal">
                                        <Storyboard>
                                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="controlContainer" Storyboard.TargetProperty="(UIElement.Opacity)">
                                                <SplineDoubleKeyFrame KeyTime="00:00:00.2000000" Value="0"/>
                                            </DoubleAnimationUsingKeyFrames>
                                        </Storyboard>
                                    </vsm:VisualState>
                                    <vsm:VisualState x:Name="MouseOver">
                                        <Storyboard>
                                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="controlContainer" Storyboard.TargetProperty="(UIElement.Opacity)" Duration="00:00:00.0010000">
                                                <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.5"/>
                                            </DoubleAnimationUsingKeyFrames>
                                        </Storyboard>
                                    </vsm:VisualState>
                                    <vsm:VisualState x:Name="Pressed">
                                        <Storyboard>
                                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="controlContainer" Storyboard.TargetProperty="(UIElement.Opacity)" Duration="00:00:00.0010000">
                                                <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.5"/>
                                            </DoubleAnimationUsingKeyFrames>
                                        </Storyboard>
                                    </vsm:VisualState>
                                </vsm:VisualStateGroup>
                            </vsm:VisualStateManager.VisualStateGroups>

                            <ContentPresenter Grid.Column="0" Grid.Row="0" Grid.ColumnSpan="3" Grid.RowSpan="3"/>

                            <Grid x:Name="controlContainer" Opacity="0">

                                <Grid x:Name="PART_TranslateControls" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Margin="-5,-5,-5,-5">
                                    <Rectangle Fill="#FFEEEEEE" Stroke="Gray" RadiusX="3" RadiusY="3" Cursor="Hand" Height="15" VerticalAlignment="Top" HorizontalAlignment="Stretch" Margin="0,-10,0,0"/>
                                    <Rectangle Fill="#FFEEEEEE" Stroke="Gray" RadiusX="3" RadiusY="3" Cursor="Hand" Height="15" VerticalAlignment="Bottom" HorizontalAlignment="Stretch" Margin="0,0,0,-10"/>
                                    <Rectangle Fill="#FFEEEEEE" Stroke="Gray" RadiusX="3" RadiusY="3" Cursor="Hand" Width="15" VerticalAlignment="Stretch" HorizontalAlignment="Right" Margin="0,0,-10,0"/>
                                    <Rectangle Fill="#FFEEEEEE" Stroke="Gray" RadiusX="3" RadiusY="3" Cursor="Hand" Width="15" VerticalAlignment="Stretch" HorizontalAlignment="Left" Margin="-10,0,0,0"/>
                                </Grid>
                                <Grid x:Name="PART_ClickControls" Width="50" Height="50" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="-10,-10,0,0">
                                    <Rectangle Fill="Red" Stroke="Black" Cursor="Arrow" RadiusX="3" RadiusY="3"/>
                                </Grid>
                                <Grid x:Name="PART_RotateControls"  HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
                                    <Rectangle Fill="DimGray" Stroke="Black" RadiusX="3" RadiusY="3" Cursor="Hand" Width="20" Height="20" VerticalAlignment="Top" HorizontalAlignment="Right" Margin="0,-10,-10,0"/>
                                    <Rectangle Fill="DimGray" Stroke="Black" RadiusX="3" RadiusY="3" Cursor="Hand" Width="20" Height="20" VerticalAlignment="Bottom" HorizontalAlignment="Right" Margin="0,0,-10,-10"/>
                                    <Rectangle Fill="DimGray" Stroke="Black" RadiusX="3" RadiusY="3" Cursor="Hand" Width="20" Height="20" VerticalAlignment="Bottom" HorizontalAlignment="Left" Margin="-10,0,0,-10"/>
                                </Grid>
                                <Grid x:Name="PART_ScaleControls"  HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
                                    <Rectangle Fill="LightGray" Stroke="DimGray" RadiusX="3" RadiusY="3" Cursor="SizeWE" Width="20" Height="20" VerticalAlignment="Top" HorizontalAlignment="Right"/>
                                    <Rectangle Fill="LightGray" Stroke="DimGray" RadiusX="3" RadiusY="3" Cursor="SizeWE" Width="20" Height="20" VerticalAlignment="Bottom" HorizontalAlignment="Right"/>
                                    <Rectangle Fill="LightGray" Stroke="DimGray" RadiusX="3" RadiusY="3" Cursor="SizeWE" Width="20" Height="20" VerticalAlignment="Bottom" HorizontalAlignment="Left"/>
                                </Grid>
                            </Grid>
                        </Grid>
                    </ControlTemplate>


                </Setter.Value>
            </Setter>
        </Style>


    </UserControl.Resources>
    <ScrollViewer HorizontalScrollBarVisibility="Auto"  >
    <Grid x:Name="LayoutRoot" Height="800" Width="1200" ShowGridLines="False">
        <Grid.RowDefinitions>
            <RowDefinition Height="272" />
            <RowDefinition Height="490" />
            <RowDefinition Height="238*" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="209" />
            <ColumnDefinition Width="125" />
            <ColumnDefinition Width="7" />
            <ColumnDefinition Width="31" />
            <ColumnDefinition Width="52" />
            <ColumnDefinition Width="117" />
            <ColumnDefinition Width="359" />
            <ColumnDefinition Width="100*" />
        </Grid.ColumnDefinitions>
        
        <!--<Grid HorizontalAlignment="Right"  Grid.Row="1" VerticalAlignment="Center" Grid.ColumnSpan="2" Margin="3,16,121,120" Grid.RowSpan="4" Width="937" IsHitTestVisible="False">
            <Grid.RowDefinitions>
                <RowDefinition Height="272" />
                <RowDefinition Height="490" />
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="209" />
                <ColumnDefinition Width="125" />
                <ColumnDefinition Width="7" />
                <ColumnDefinition Width="31" />
                <ColumnDefinition Width="52" />
                <ColumnDefinition Width="117" />
                <ColumnDefinition Width="359" />
            </Grid.ColumnDefinitions>-->
           
        
        <transform:TransformInteractionControl Width="20" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="114,37,342,215" Style="{StaticResource customInteractionStyle}" Grid.Column="5" Grid.ColumnSpan="2">
            <Button x:Name="D4" Content="D4" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP - RIGHT GROUND -->
        <transform:TransformInteractionControl Width="39" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="0,37,296,0" Style="{StaticResource customInteractionStyle}" VerticalAlignment="Top" HorizontalAlignment="Right" Grid.Column="6" d:LayoutOverrides="GridBox">
            <Button x:Name="RG1N" Content="RG1N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="73,37,0,215" Style="{StaticResource customInteractionStyle}" HorizontalAlignment="Left" Grid.Column="6" d:LayoutOverrides="GridBox">
            <Button x:Name="RG2N" Content="RG2N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="123,37,196,215" Style="{StaticResource customInteractionStyle}" Grid.Column="6" d:LayoutOverrides="GridBox">
            <Button x:Name="RG3N" Content="RG3N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="173,37,146,215" Style="{StaticResource customInteractionStyle}" Grid.Column="6">
            <Button x:Name="RG4N" Content="RG4N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="219,37,100,215" Style="{StaticResource customInteractionStyle}" Grid.Column="6" d:LayoutOverrides="GridBox">
            <Button x:Name="RG5N" Content="RG5N" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP - F1 GROUND -->
        <transform:TransformInteractionControl Height="20" Click="OnButtonTransformInteractionControlClick" Margin="0,37,74,215" Style="{StaticResource customInteractionStyle}" HorizontalAlignment="Right" Width="20" Grid.Column="6">
            <Button x:Name="F1G" Content="F1" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP - DOOR BOTTOM -->
        <transform:TransformInteractionControl Width="20" Height="40" Click="OnButtonTransformInteractionControlClick" Margin="114,0,342,167" Style="{StaticResource customInteractionStyle}" VerticalAlignment="Bottom" Grid.Column="5" Grid.ColumnSpan="2">
            <Button x:Name="DB4N" Content="DB4N" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP - RIGHT BOTTOM -->
        <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick" Margin="23,0,296,169" Style="{StaticResource customInteractionStyle}" VerticalAlignment="Bottom" Grid.Column="6" d:LayoutOverrides="GridBox">
            <Button x:Name="RB1N" Content="RB1N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="73,63,246,169" Style="{StaticResource customInteractionStyle}" Grid.Column="6" d:LayoutOverrides="GridBox">
            <Button x:Name="RB2N" Content="RB2N">
                <!--<Button.Template>
                    <ControlTemplate TargetType="Button">
                        <Border x:Name="Border" Background="Orange">
                            <ContentPresenter VerticalAlignment="Center" HorizontalAlignment="Center" />
                        </Border>
                    </ControlTemplate>
                </Button.Template>-->
            </Button>
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="123,63,196,169" Style="{StaticResource customInteractionStyle}" Grid.Column="6" d:LayoutOverrides="GridBox">
            <Button x:Name="RB3N" Content="RB3N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="173,65,146,167" Style="{StaticResource customInteractionStyle}" Grid.Column="6">
            <Button x:Name="RB4N" Content="RB4N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="219,63,100,169" Style="{StaticResource customInteractionStyle}" Grid.Column="6" d:LayoutOverrides="GridBox">
            <Button x:Name="RB5N" Content="RB5N" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP - FRONT BOTTOM-->
        <transform:TransformInteractionControl Width="20" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="265,109,74,123" Style="{StaticResource customInteractionStyle}" Grid.Column="6">
            <Button x:Name="FB1N" Content="FB1N" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP - FRONT TOP-->
        <transform:TransformInteractionControl Width="20" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="265,63,74,169" Style="{StaticResource customInteractionStyle}" Grid.Column="6">
            <Button x:Name="FT1N" Content="FT1N" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP - DOOR TOP -->
        <transform:TransformInteractionControl Width="20" Height="40" Click="OnButtonTransformInteractionControlClick" Margin="114,0,342,123" Style="{StaticResource customInteractionStyle}" VerticalAlignment="Bottom" Grid.Column="5" Grid.ColumnSpan="2">
            <Button x:Name="DT4N" Content="DT4N" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP - RIGHT TOP-->
        <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="23,109,296,123" Style="{StaticResource customInteractionStyle}" Grid.Column="6" d:LayoutOverrides="GridBox">
            <Button x:Name="RT1N" Content="RT1N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="73,109,246,123" Style="{StaticResource customInteractionStyle}" Grid.Column="6" d:LayoutOverrides="GridBox">
            <Button x:Name="RT2N" Content="RT2N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="123,109,196,123" Style="{StaticResource customInteractionStyle}" Grid.Column="6" d:LayoutOverrides="GridBox" IsTabStop="True">
            <Button x:Name="RT3N" Content="RT3N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="173,109,146,123" Style="{StaticResource customInteractionStyle}" Grid.Column="6">
            <Button x:Name="RT4N" Content="RT4N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="219,109,100,123" Style="{StaticResource customInteractionStyle}" Grid.Column="6" d:LayoutOverrides="GridBox">
            <Button x:Name="RT5N" Content="RT5N" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP - D4 HEIGHT -->
        <transform:TransformInteractionControl Width="20" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="114,159,342,93" Style="{StaticResource customInteractionStyle}" Grid.Column="5" Grid.ColumnSpan="2">
            <Button x:Name="D4H" Content="D4" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP - RIGHT - HEIGHT-->
        <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="23,159,296,93" Style="{StaticResource customInteractionStyle}" Grid.Column="6" d:LayoutOverrides="GridBox">
            <Button x:Name="RH1N" Content="RH1N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="73,159,246,93" Style="{StaticResource customInteractionStyle}" Grid.Column="6" d:LayoutOverrides="GridBox">
            <Button x:Name="RH2N" Content="RH2N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="123,159,196,93" Style="{StaticResource customInteractionStyle}" Grid.Column="6" d:LayoutOverrides="GridBox">
            <Button x:Name="RH3N" Content="RH3N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="173,159,146,93" Style="{StaticResource customInteractionStyle}" Grid.Column="6">
            <Button x:Name="RH4N" Content="RH4N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="219,159,100,93" Style="{StaticResource customInteractionStyle}" Grid.Column="6" d:LayoutOverrides="GridBox">
            <Button x:Name="RH5N" Content="RH5N" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP - F1 HEIGHT -->
        <transform:TransformInteractionControl Width="20" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="0,159,74,93" Style="{StaticResource customInteractionStyle}" HorizontalAlignment="Right" Grid.Column="6">
            <Button x:Name="F1H" Content="F1" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP - TOP RIGHT  -->
        <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick" Margin="23,231,296,1" Style="{StaticResource customInteractionStyle}" Grid.Column="6" d:LayoutOverrides="GridBox">
            <Button x:Name="TR1N" Content="TR1N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="73,231,246,1" Style="{StaticResource customInteractionStyle}" Grid.Column="6" d:LayoutOverrides="GridBox">
            <Button x:Name="TR2N" Content="TR2N">
                <!--<Button.Template>
                    <ControlTemplate TargetType="Button">
                        <Border x:Name="Border" Background="Orange">
                            <ContentPresenter VerticalAlignment="Center" HorizontalAlignment="Center" />
                        </Border>
                    </ControlTemplate>
                </Button.Template>-->
            </Button>
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="123,231,196,1" Style="{StaticResource customInteractionStyle}" Grid.Column="6" d:LayoutOverrides="GridBox">
            <Button x:Name="TR3N" Content="TR3N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="173,231,146,1" Style="{StaticResource customInteractionStyle}" Grid.Column="6">
            <Button x:Name="TR4N" Content="TR4N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="219,231,100,1" Style="{StaticResource customInteractionStyle}" Grid.Column="6" d:LayoutOverrides="GridBox">
            <Button x:Name="TR5N" Content="TR5N" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP - TOP LEFT  -->
        <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="23,185,296,47" Style="{StaticResource customInteractionStyle}" Grid.Column="6" d:LayoutOverrides="GridBox">
            <Button x:Name="TL1N" Content="TL1N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="73,185,246,47" Style="{StaticResource customInteractionStyle}" Grid.Column="6" d:LayoutOverrides="GridBox">
            <Button x:Name="TL2N" Content="TL2N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="123,185,196,47" Style="{StaticResource customInteractionStyle}" Grid.Column="6" d:LayoutOverrides="GridBox">
            <Button x:Name="TL3N" Content="TL3N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="173,185,146,47" Style="{StaticResource customInteractionStyle}" Grid.Column="6">
            <Button x:Name="TL4N" Content="TL4N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="219,185,100,47" Style="{StaticResource customInteractionStyle}" Grid.Column="6" d:LayoutOverrides="GridBox">
            <Button x:Name="TL5N" Content="TL5N" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP -  DOOR TOP  D4 DOOR-->
        <transform:TransformInteractionControl Width="20" Height="20" Click="OnButtonTransformInteractionControlClick_Test2" Margin="49,5,0,465" Style="{StaticResource customInteractionStyle}" HorizontalAlignment="Left" Grid.Row="1" Grid.Column="4" Grid.ColumnSpan="2">
            <Button x:Name="D4D" Content="D4" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP -  DOOR TOP  DH3N-->
        <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick_Test2" Margin="23,5,0,465" Style="{StaticResource customInteractionStyle}" HorizontalAlignment="Left" Grid.Row="1" Grid.Column="5" d:LayoutOverrides="GridBox">
            <Button x:Name="DH3N" Content="DH3N" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP -  DOOR TOP  DH3N-->
        <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick_Test2" Margin="69,5,8,465" Style="{StaticResource customInteractionStyle}" Grid.Column="5" Grid.Row="1">
            <Button x:Name="DH2N" Content="DH2N" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP - D1 HEIGHT-->
        <transform:TransformInteractionControl Width="20" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="0,5,341,465" Style="{StaticResource customInteractionStyle}" HorizontalAlignment="Right" Grid.Column="5" Grid.Row="1" Grid.ColumnSpan="2">
            <Button x:Name="D1" Content="D1" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP - LEFT - HEIGHT-->
        <transform:TransformInteractionControl Height="20" Click="OnButtonTransformInteractionControlClick" Margin="23,5,0,465" Style="{StaticResource customInteractionStyle}" HorizontalAlignment="Left" Width="40" Grid.Column="6" Grid.Row="1" d:LayoutOverrides="GridBox">
            <Button x:Name="LH1N" Content="LH1N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="73,5,0,465" Style="{StaticResource customInteractionStyle}" HorizontalAlignment="Left" Grid.Column="6" Grid.Row="1" d:LayoutOverrides="GridBox">
            <Button x:Name="LH2N" Content="LH2N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="124,5,195,465" Style="{StaticResource customInteractionStyle}" Grid.Column="6" Grid.Row="1" d:LayoutOverrides="GridBox">
            <Button x:Name="LH3N" Content="LH3N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="174,5,0,465" Style="{StaticResource customInteractionStyle}" HorizontalAlignment="Left" Grid.Column="6" Grid.Row="1">
            <Button x:Name="LH4N" Content="LH4N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="220,5,99,465" Style="{StaticResource customInteractionStyle}" Grid.Column="6" Grid.Row="1" d:LayoutOverrides="GridBox">
            <Button x:Name="LH5N" Content="LH5N" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP - FRONT- GROUND -->
        <transform:TransformInteractionControl Width="20" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="0,5,75,0" Style="{StaticResource customInteractionStyle}" VerticalAlignment="Top" HorizontalAlignment="Right" Grid.Column="6" Grid.Row="1">
            <Button x:Name="F4H" Content="F4" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP - FRONT- GROUND -->
        <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="0,5,26,0" Style="{StaticResource customInteractionStyle}" VerticalAlignment="Top" HorizontalAlignment="Right" Grid.Column="6" Grid.Row="1">
            <Button x:Name="FH3N" Content="FH3N" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP - FRONT- GROUND -->
        <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="0,5,282,0" Style="{StaticResource customInteractionStyle}" VerticalAlignment="Top" HorizontalAlignment="Right" Grid.Column="6" Grid.Row="1" Grid.ColumnSpan="2">
            <Button x:Name="FH2N" Content="FH2N" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP - FRONT- GROUND F1 F1TN-->
        <transform:TransformInteractionControl Width="20" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="0,5,256,0" Style="{StaticResource customInteractionStyle}" VerticalAlignment="Top" HorizontalAlignment="Right" Grid.Column="7" Grid.Row="1">
            <Button x:Name="F1TN" Content="F1" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP -  DOOR TOP  DT4ND-->
        <!-- LOCATION  MAP -  DOOR TOP  DT4N-->
        <transform:TransformInteractionControl Height="40" Margin="48,0,101,417" Style="{StaticResource customInteractionStyle}" VerticalAlignment="Bottom" Width="20" Grid.Row="1" Grid.Column="4" Grid.ColumnSpan="2">
            <Button Content="DT4N" Name="button1" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP -  DOOR TOP  DT3N-->
        <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="23,33,54,417" Style="{StaticResource customInteractionStyle}" Grid.Row="1" Grid.Column="5" d:LayoutOverrides="GridBox">
            <Button x:Name="DT3N" Content="DT3N" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP -  DOOR TOP  DT2N-->
        <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="69,33,8,417" Style="{StaticResource customInteractionStyle}" Grid.Column="5" Grid.Row="1">
            <Button x:Name="DT2N" Content="DT2N" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP -  DOOR TOP LEFT -->
        <transform:TransformInteractionControl Width="20" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="115,33,341,417" Style="{StaticResource customInteractionStyle}" Grid.Column="5" Grid.Row="1" Grid.ColumnSpan="2">
            <Button x:Name="DT1N" Content="DT1N" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP -  LEFT TOP  -->
        <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="24,33,295,417" Style="{StaticResource customInteractionStyle}" Grid.Column="6" d:LayoutOverrides="GridBox" Grid.Row="1">
            <Button x:Name="LT1N" Content="LT1N" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP -  LEFT TOP  -->
        <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="75,33,244,417" Style="{StaticResource customInteractionStyle}" Grid.Column="6" Grid.Row="1" d:LayoutOverrides="GridBox">
            <Button x:Name="LT2N" Content="LT2N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="0,33,195,417" Style="{StaticResource customInteractionStyle}" HorizontalAlignment="Right" Grid.Column="6" Grid.Row="1" d:LayoutOverrides="GridBox">
            <Button x:Name="LT3N" Content="LT3N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="174,33,145,417" Style="{StaticResource customInteractionStyle}" Grid.Column="6" Grid.Row="1">
            <Button x:Name="LT4N" Content="LT4N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="220,33,99,417" Style="{StaticResource customInteractionStyle}" Grid.Column="6" Grid.Row="1" d:LayoutOverrides="GridBox">
            <Button x:Name="LT5N" Content="LT5N" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP -  FRONT TOP FT4N -->
        <transform:TransformInteractionControl Width="20" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="268,33,71,0" Style="{StaticResource customInteractionStyle}" VerticalAlignment="Top" Grid.Column="6" Grid.Row="1">
            <Button x:Name="FT4N" Content="FT4N" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP -  FRONT TOP FT3N -->
        <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="293,33,26,417" Style="{StaticResource customInteractionStyle}" Grid.Column="6" Grid.Row="1">
            <Button x:Name="FT3N" Content="FT3N" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP -  FRONT TOP FT2N -->
        <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="339,33,280,417" Style="{StaticResource customInteractionStyle}" Grid.Column="6" Grid.Row="1" Grid.ColumnSpan="2">
            <Button x:Name="FT2N" Content="FT2N" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP -  FRONT TOP FT1N -->
        <transform:TransformInteractionControl Width="20" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="26,33,254,417" Style="{StaticResource customInteractionStyle}" Grid.Column="7" Grid.Row="1">
            <Button x:Name="FT1NF" Content="FT1N" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP -  DOOR TOP  DT4ND-->
        <transform:TransformInteractionControl Width="20" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="49,79,0,371" Style="{StaticResource customInteractionStyle}" HorizontalAlignment="Left" Angle="0" Grid.Row="1" Grid.Column="4" Grid.ColumnSpan="2">
            <Button x:Name="DB4ND" Content="DB4N" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP -  DOOR BOTTOM  DB3N-->
        <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="0,79,54,371" Style="{StaticResource customInteractionStyle}" HorizontalAlignment="Right" Grid.Row="1" Grid.Column="5" d:LayoutOverrides="GridBox">
            <Button x:Name="DB3N" Content="DB3N" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP -  DOOR BOTTOM  DB2N-->
        <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="69,79,0,371" Style="{StaticResource customInteractionStyle}" HorizontalAlignment="Left" Grid.Column="5" Grid.Row="1">
            <Button x:Name="DB2N" Content="DB2N" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP -  DOOR BOTTOM LEFT -->
        <transform:TransformInteractionControl Width="20" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="115,79,341,371" Style="{StaticResource customInteractionStyle}" Grid.Column="5" Grid.Row="1" Grid.ColumnSpan="2">
            <Button x:Name="DB1N" Content="DB1N" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP -  LEFT BOTTOM  -->
        <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="24,79,295,371" Style="{StaticResource customInteractionStyle}" Grid.Column="6" Grid.Row="1" d:LayoutOverrides="GridBox">
            <Button x:Name="LB1N" Content="LB1N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="74,79,245,371" Style="{StaticResource customInteractionStyle}" Grid.Column="6" Grid.Row="1" d:LayoutOverrides="GridBox">
            <Button x:Name="LB2N" Content="LB2N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="124,79,195,371" Style="{StaticResource customInteractionStyle}" Grid.Column="6" Grid.Row="1" d:LayoutOverrides="GridBox">
            <Button x:Name="LB3N" Content="LB3N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="174,79,145,371" Style="{StaticResource customInteractionStyle}" Grid.Column="6" Grid.Row="1">
            <Button x:Name="LB4N" Content="LB4N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="220,79,99,371" Style="{StaticResource customInteractionStyle}" Grid.Column="6" Grid.Row="1" d:LayoutOverrides="GridBox">
            <Button x:Name="LB5N" Content="LB5N" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP -  FRONT TOP FB3N -->
        <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="291,79,28,371" Style="{StaticResource customInteractionStyle}" Grid.Column="6" Grid.Row="1">
            <Button x:Name="FB3N" Content="FB3N" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP -  FRONT TOP FB2N -->
        <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="337,79,282,371" Style="{StaticResource customInteractionStyle}" Grid.Column="6" Grid.Row="1" Grid.ColumnSpan="2">
            <Button x:Name="FB2N" Content="FB2N" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP -  FRONT TOP FT1N -->
        <transform:TransformInteractionControl Width="20" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="24,79,256,371" Style="{StaticResource customInteractionStyle}" Grid.Column="7" Grid.Row="1">
            <Button x:Name="FB1NF" Content="FB1N" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP -  FRONT TOP  -->
        <transform:TransformInteractionControl Width="20" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="266,79,73,371" Style="{StaticResource customInteractionStyle}" Grid.Column="6" Grid.Row="1">
            <Button x:Name="FB4N" Content="FB4N" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP - DOOR- D4DG -->
        <transform:TransformInteractionControl Width="20" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="0,125,100,345" Style="{StaticResource customInteractionStyle}" HorizontalAlignment="Right" Grid.Row="1" Grid.Column="4" Grid.ColumnSpan="2">
            <Button x:Name="D4DG" Content="D4" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP - DOOR- GROUND -->
        <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="23,125,0,345" Style="{StaticResource customInteractionStyle}" HorizontalAlignment="Left" Grid.Row="1" Grid.Column="5" d:LayoutOverrides="GridBox">
            <Button x:Name="DG3N" Content="DG3N" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP - DOOR- GROUND -->
        <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="0,125,8,345" Style="{StaticResource customInteractionStyle}" HorizontalAlignment="Right" Grid.Column="5" Grid.Row="1">
            <Button x:Name="DG2N" Content="DG2N" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP - DOOR- GROUND -->
        <transform:TransformInteractionControl Width="20" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="115,125,341,345" Style="{StaticResource customInteractionStyle}" Grid.Column="5" Grid.Row="1" Grid.ColumnSpan="2">
            <Button x:Name="D1G" Content="D1" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP - LEFT - GROUND -->
        <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="0,125,295,345" Style="{StaticResource customInteractionStyle}" HorizontalAlignment="Right" Grid.Column="6" Grid.Row="1" d:LayoutOverrides="GridBox">
            <Button x:Name="LG1N" Content="LG1N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="0,125,246,345" Style="{StaticResource customInteractionStyle}" HorizontalAlignment="Right" Grid.Column="6" Grid.Row="1" d:LayoutOverrides="GridBox">
            <Button x:Name="LG2N" Content="LG2N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="124,125,195,345" Style="{StaticResource customInteractionStyle}" Grid.Column="6" Grid.Row="1" d:LayoutOverrides="GridBox">
            <Button x:Name="LG3N" Content="LG3N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="174,125,145,345" Style="{StaticResource customInteractionStyle}" Grid.Column="6" Grid.Row="1">
            <Button x:Name="LG4N" Content="LG4N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="0,0,100,345" Style="{StaticResource customInteractionStyle}" HorizontalAlignment="Right" VerticalAlignment="Bottom" Grid.Column="6" Grid.Row="1" d:LayoutOverrides="GridBox">
            <Button x:Name="LG5N" Content="LG5N" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP - FRONT- GROUND -->
        <transform:TransformInteractionControl Width="20" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="266,125,73,345" Style="{StaticResource customInteractionStyle}" Grid.Column="6" Grid.Row="1">
            <Button x:Name="F4G" Content="F4" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP - FRONT- GROUND -->
        <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="0,125,29,345" Style="{StaticResource customInteractionStyle}" HorizontalAlignment="Right" Grid.Column="6" Grid.Row="1">
            <Button x:Name="FG3N" Content="FG3N" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP - FRONT- GROUND -->
        <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="337,125,282,345" Style="{StaticResource customInteractionStyle}" Grid.Column="6" Grid.Row="1" Grid.ColumnSpan="2">
            <Button x:Name="FG2N" Content="FG2N" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP - FRONT- GROUND F1 FRONUND -->
        <transform:TransformInteractionControl Width="20" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="24,125,256,345" Style="{StaticResource customInteractionStyle}" Grid.Column="7" Grid.Row="1">
            <Button x:Name="F1GN" Content="F1" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP - BOTTOM  LEFT-->
        <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="23,151,0,299" Style="{StaticResource customInteractionStyle}" HorizontalAlignment="Left" Grid.Column="6" Grid.Row="1" d:LayoutOverrides="GridBox">
            <Button x:Name="BL1N" Content="BL1N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="73,151,246,299" Style="{StaticResource customInteractionStyle}" Grid.Column="6" Grid.Row="1" d:LayoutOverrides="GridBox">
            <Button x:Name="BL2N" Content="BL2N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="123,151,196,299" Style="{StaticResource customInteractionStyle}" Grid.Column="6" Grid.Row="1" d:LayoutOverrides="GridBox">
            <Button x:Name="BL3N" Content="BL3N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="173,151,146,299" Style="{StaticResource customInteractionStyle}" Grid.Column="6" Grid.Row="1">
            <Button x:Name="BL4N" Content="BL4N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="219,151,100,299" Style="{StaticResource customInteractionStyle}" Grid.Column="6" Grid.Row="1" d:LayoutOverrides="GridBox">
            <Button x:Name="BL5N" Content="BL5N" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP - BOTTOM  RIGHT-->
        <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="23,197,0,253" Style="{StaticResource customInteractionStyle}" HorizontalAlignment="Left" Grid.Column="6" Grid.Row="1" d:LayoutOverrides="GridBox">
            <Button x:Name="BR1N" Content="BR1N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="73,197,246,253" Style="{StaticResource customInteractionStyle}" Grid.Column="6" Grid.Row="1" d:LayoutOverrides="GridBox">
            <Button x:Name="BR2N" Content="BR2N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="123,197,196,253" Style="{StaticResource customInteractionStyle}" Grid.Column="6" Grid.Row="1" d:LayoutOverrides="GridBox">
            <Button x:Name="BR3N" Content="BR3N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="173,197,146,253" Style="{StaticResource customInteractionStyle}" Grid.Column="6" Grid.Row="1">
            <Button x:Name="BRL4N" Content="BR4N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="219,197,100,253" Style="{StaticResource customInteractionStyle}" Grid.Column="6" Grid.Row="1" d:LayoutOverrides="GridBox">
            <Button x:Name="BR5N" Content="BR5N" />
        </transform:TransformInteractionControl>
        <!-- LOCATION  MAP - UNDERSTRUCTURE-->
        <transform:TransformInteractionControl Width="40" Height="80" Click="OnButtonTransformInteractionControlClick_Test2" Margin="24,283,295,127" Style="{StaticResource customInteractionStyle}" Grid.Column="6" Grid.Row="1" d:LayoutOverrides="GridBox">
            <Button x:Name="UX1N" Content="UX1N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="80" Click="OnButtonTransformInteractionControlClick_Test2" Margin="73,283,246,127" Style="{StaticResource customInteractionStyle}" Grid.Column="6" Grid.Row="1" d:LayoutOverrides="GridBox">
            <Button x:Name="UX2N" Content="UX2N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="80" Click="OnButtonTransformInteractionControlClick_Test2" Margin="123,283,196,127" Style="{StaticResource customInteractionStyle}" Grid.Column="6" Grid.Row="1" d:LayoutOverrides="GridBox">
            <Button x:Name="UX3N" Content="UX3N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="80" Click="OnButtonTransformInteractionControlClick_Test2" Margin="173,283,146,127" Style="{StaticResource customInteractionStyle}" Grid.Column="6" Grid.Row="1">
            <Button x:Name="UX4N" Content="UX4N" />
        </transform:TransformInteractionControl>
        <transform:TransformInteractionControl Width="40" Height="80" Click="OnButtonTransformInteractionControlClick_Test2" Margin="219,283,100,127" Style="{StaticResource customInteractionStyle}" Grid.Column="6" Grid.Row="1" d:LayoutOverrides="GridBox">
            <Button x:Name="UX5N" Content="UX5N" />
        </transform:TransformInteractionControl>
         <sdk:GridSplitter Grid.Column="3" Margin="0,2,10,13" Grid.RowSpan="2" ShowsPreview="False" Background="#FFDADADA" />
            <StackPanel Height="652" HorizontalAlignment="Left" Margin="13,2,0,0" Name="stackPanel1"  Loaded="LayoutRoot_Loaded" VerticalAlignment="Top" Width="296" Grid.ColumnSpan="2" Grid.RowSpan="2">
                <Grid Height="34">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="203*" />
                        <ColumnDefinition Width="93*" />
                    </Grid.ColumnDefinitions>
                    <Button Content="Clear" Click="ClearButton_Click"  Margin="73,0,80,0" Width="50" Height="30" IsTabStop="False" />
                    <Button Content="Load" Click="LoadButton_Click" Width="50" Height="30" IsTabStop="True" HorizontalContentAlignment="Center" Margin="-2,0,155,0" />
                </Grid>
                
                <Grid Height="264" Width="295">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="109*" />
                        <ColumnDefinition Width="186" />
                    </Grid.ColumnDefinitions>
                    <data:DataGrid AutoGenerateColumns="False" Margin="-1,10,14,57" Name="dataGrid1" Width="282" Grid.ColumnSpan="2">
                    <data:DataGrid.Columns>
                        <data:DataGridTextColumn Header="Customer" Width="SizeToHeader" Binding="{Binding CustomerName}" />
                        <data:DataGridTextColumn Header="Count" Width="SizeToHeader" Binding="{Binding CustomerId}" />
                        <data:DataGridTextColumn Header="Address" Width="SizeToHeader" Binding="{Binding CustomerAddress}" />
                    </data:DataGrid.Columns>
                </data:DataGrid>
                <data:DataPager x:Name="dgCustomerPager" Source="{Binding}" DisplayMode="FirstLastNumeric" Margin="0,199,14,39" VerticalContentAlignment="Top" HorizontalContentAlignment="Right" Grid.ColumnSpan="2" />
                    <!--<Slider x:Name="sliderPager" Cursor="Hand" Minimum="0"
                    Value="{Binding PageIndex, ElementName=dgCustomerPager, Mode=TwoWay}"
                    Maximum="{Binding PageCount, ElementName=dgCustomerPager, Mode=TwoWay}" />-->
                </Grid>
                <Grid Height="340">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="159*" />
                        <ColumnDefinition Width="137*" />
                    </Grid.ColumnDefinitions>
                    <m:Map  x:Name="MyMap" CredentialsProvider="Ak3MocFbmijHFnbIBG0dB2lqBf_RocQL2broM4wgpSSRVtlk_f28b46AvozbYnnK"
                Mode="Road" RenderTransformOrigin="0.42,0.557" Margin="12,6,0,6"
                LogoVisibility="Collapsed" Loaded="MyMap_Loaded" Grid.ColumnSpan="2">
                        <m:MapLayer x:Name="PushPinLayer">
                            <Canvas x:Name="ContentPopup" Visibility="Collapsed" Opacity="0.85" MouseEnter="ContentPopup_MouseEnter" MouseLeave="ContentPopup_MouseLeave">
                                <Rectangle x:Name="ContentPopupRectangle" Fill="White" Canvas.Left="0" Canvas.Top="0" Height="100" Width="300" RadiusX="20" RadiusY="20"/>
                                <StackPanel Canvas.Left="10" Canvas.Top="10">
                                    <TextBlock x:Name="ContentPopupText"  FontSize="12" FontWeight="Bold" TextWrapping="Wrap" Width="250"></TextBlock>

                                </StackPanel>
                            </Canvas>
                        </m:MapLayer>
                    </m:Map>
                </Grid>
            </StackPanel>
            
            <!--<StackPanel Grid.Row="1" Height="391" HorizontalAlignment="Left" Margin="12,33,0,0" Name="stackPanel2" VerticalAlignment="Top" Width="312" Grid.ColumnSpan="2">
               
               
            </StackPanel>--> 
            <!--</Grid>-->
       
    </Grid>

    </ScrollViewer>
        <!--</ScrollViewer>-->
</navigation:Page>
